cmake_minimum_required(VERSION 3.10)

project(project)

aux_source_directory(./project2 MOD)

add_executable(${PROJECT_NAME} ${MOD}) 
